﻿using DeMeng.Models.Base;
using SqlSugar;
using System;

namespace DeMeng.Models.System
{
    /// <summary>
    ///系统菜单表
    /// </summary>
    [SugarTable("SystemMenu")]
    public class SystemMenuEntity : BaseEntity
    {
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 权限名称
        /// </summary>
        public string PermissionName { get; set; }

        /// <summary>
        /// 上级Id
        /// </summary>
        public Guid ParentId { get; set; }

        /// <summary>
        /// 路径
        /// </summary>
        public string Path { get; set; }

        /// <summary>
        /// 菜单类型 1 导航菜单 2按钮
        /// </summary>
        public int MenuType { get; set; }


        /// <summary>
        /// 是否隐藏
        /// </summary>
        public bool IsHidden { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }
}